package com.mengwen.backstage.service.impl;

import com.mengwen.backstage.mapper.InvitationMapper;
import com.mengwen.backstage.service.InvitationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LiangYonghui
 * @date 2020/4/8 18:45
 * @description 邀请表的业务接口实现类
 */
@Service
public class InvitationServiceImpl implements InvitationService {

    @Autowired
    InvitationMapper invitationMapper;

    @Override
    public String findInviterUnionidByInviteeUnionid(String unionid) {
        return invitationMapper.findInviterUnionidByInviteeUnionid(unionid);
    }
}
